home *** CD-ROM | disk | FTP | other *** search
Java Source | 1997-06-19 | 1.0 KB | 42 lines |
- package symantec.itools.awt;
-
- /**
- * AlignStyle is an interface for components with labels that can be
- * aligned left, centered, or right.
- * @author Symantec
- */
- public interface AlignStyle
- {
- //--------------------------------------------------
- // constants
- //--------------------------------------------------
-
- /**
- * Defines the "left" label text alignment.
- */
- public static final int ALIGN_LEFT = 0;
-
- /**
- * Defines the "center" label text alignment.
- */
- public static final int ALIGN_CENTERED = 1;
-
- /**
- * Defines the "right" label text alignment.
- */
- public static final int ALIGN_RIGHT = 2;
-
-
- //--------------------------------------------------
- // methods
- //--------------------------------------------------
-
- /**
- * Sets the new label alignment style.
- */
- public void setAlignStyle(int style);
- /**
- * Gets the current label alignment style.
- */
- public int getAlignStyle();
- }